package model;

import common.Constant;

import util.ParameterCheck;

public class Commented {
	private String ctime;
	private String item;
	private String itemname;
	private String itemimg;
	private String comment;
	private int type;
	public String getCtime() {
		return ctime;
	}
	public void setCtime(String ctime) {
		this.ctime =ParameterCheck.getTimeFormat(ctime);
	}
	public String getItem() {
		return item;
	}
	public void setItem(String item) {
		this.item = item;
	}
	public String getItemname() {
		return itemname;
	}
	public void setItemname(String itemname) {
		this.itemname = itemname;
	}
	public String getItemimg() {
		return Constant.imgurl+itemimg;
	}
	public void setItemimg(String itemimg) {
		this.itemimg = itemimg;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
}
